<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>客户问题管理</title>
    <script type='text/javascript' src='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
HOST = '<?php echo $GLOBALS['user']['HOST'];?>';
ROOT = '<?php echo $GLOBALS['user']['ROOT'];?>';
WEB = '<?php echo $GLOBALS['user']['WEB'];?>';
URL = '<?php echo $GLOBALS['user']['URL'];?>';
HDPHP = '<?php echo $GLOBALS['user']['HDPHP'];?>';
HDPHPDATA = '<?php echo $GLOBALS['user']['HDPHPDATA'];?>';
HDPHPTPL = '<?php echo $GLOBALS['user']['HDPHPTPL'];?>';
HDPHPEXTEND = '<?php echo $GLOBALS['user']['HDPHPEXTEND'];?>';
APP = '<?php echo $GLOBALS['user']['APP'];?>';
CONTROL = '<?php echo $GLOBALS['user']['CONTROL'];?>';
METH = '<?php echo $GLOBALS['user']['METH'];?>';
GROUP = '<?php echo $GLOBALS['user']['GROUP'];?>';
TPL = '<?php echo $GLOBALS['user']['TPL'];?>';
CONTROLTPL = '<?php echo $GLOBALS['user']['CONTROLTPL'];?>';
STATIC = '<?php echo $GLOBALS['user']['STATIC'];?>';
PUBLIC = '<?php echo $GLOBALS['user']['PUBLIC'];?>';
HISTORY = '<?php echo $GLOBALS['user']['HISTORY'];?>';
HTTPREFERER = '<?php echo $GLOBALS['user']['HTTPREFERER'];?>';
</script>
    <link href='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/css/bootstrap.min.css' rel='stylesheet' media='screen'>
<script src='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/bootstrap.min.js'></script>
                <!--[if lte IE 6]>
                <link rel="stylesheet" type="text/css" href="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/ie6/css/bootstrap-ie6.css">
                <![endif]-->
                <!--[if lt IE 9]>
                <script src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/html5shiv.min.js"></script>
                <script src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/respond.min.js"></script>
                <![endif]-->
    <link type="text/css" rel="stylesheet" href="http://127.0.0.1/damai/./App/App/Admin/Tpl/Answer/css/css.css"/>
</head>
<body>
<div class="wrap">
    <div class="title-header">提问</div>
        <table class="table1">
            <tr>
                <th class="w100">提问人</th>
                <td  class="w100">
                   <p><?php echo $askData['nickname'];?></p>
                </td>
                <td><span id="hd_catename"></span></td>
                <th class="w100">问题编号</th>
                <td>
                    <p><?php echo $askData['asknumber'];?></p>
                </td>
                 <th class="w100">提问时间</th>
                <td>
                    <p><?php echo $askData['asktime'];?></p>
                </td>
                 <th class="w100">所在位置ID</th>
                <td>
                    <p><a target="_blank" href="<?php echo U('Index/Goods/index',array('goodsid'=>$askData['goodsid']));?>"><?php echo $askData['goodsname'];?></a></p>
                </td>
            </tr>
            </table>
            <table class="table1">
             <tr>
                <th class="w100">问题内容</th>
                <td class="w200">
                    <p><?php echo $askData['askcontent'];?></p>
                </td>
                <td></td>
            </tr>
            </tr>
            </table>

 <?php if($answerData == 0){?>
  <div class="title-header">回答</div>
 <table class="table1">
 	<tr ><td style="color:red;">暂没有管理员回复</td> </tr>
 </table>
  <?php  }else{ ?>
 <?php if(is_array($answerData)):?><?php  foreach($answerData as $k=>$v){ ?>
 <div class="title-header">回答</div>
 	 <table class="table1">
            <tr>
                <th class="w100">回答人</th>
                <td  class="w100">
                   <p><?php echo $v['adminname'];?></p>
                </td>
                <td><span id="hd_catename"></span></td>
                <th class="w100">回答时间</th>
                <td>
                    <p><?php echo $v['anstime'];?></p>
                </td>
            </tr>
            </table>
            <table class="table1">
             <tr>
                <th class="w100">回答内容</th>
                <td class="w200">
                    <p><?php echo $v['anscontent'];?></p>
                </td>
                <td></td>
            </tr>
            </tr>
            </table>
      <?php }?><?php endif;?>

 <?php }?>
       
</div>
</body>
</html>